JavaScript Debugger Modules > What is a JavaScript Debugger Module? > startBlock() |
![]() ![]() ![]() |
Availability
Dreamweaver 4.0
Description
Indicates the beginning of a new block of JavaScript code. The block can be a script tag, event handler, or external .js file.
Arguments
fileName
, lineNumber
, offset
![]() |
fileName is the name of the HTML document or .js file containing the block. The location is specified by a relative path to the source HTML document. |
![]() |
lineNumber is the line number in the HTML document or .js file in which the block begins (1-based index). |
![]() |
offset is the offset of the first character of JavaScript code from the beginning of the file (0-based index). |
Returns
Nothing.
![]() ![]() ![]() |